<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
	<th:block th:include="include :: header('新增请求映射详情')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-autoRequesmappingDetail-add">
			<div class="form-group">	
				<label class="col-sm-3 control-label">名称：</label>
				<div class="col-sm-8">
					<input id="requestItem" name="requestItem" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">spx协议id：</label>
				<div class="col-sm-8">
					<input id="spxRequestSeqId" name="spxRequestSeqId" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">cpack协议id：</label>
				<div class="col-sm-8">
					<input id="cpackRequestSeqId" name="cpackRequestSeqId" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">t2协议id：</label>
				<div class="col-sm-8">
					<input id="t2RequestSeqId" name="t2RequestSeqId" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">spx协议值：</label>
				<div class="col-sm-8">
					<input id="spxDefaultVal" name="spxDefaultVal" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">cpack协议值：</label>
				<div class="col-sm-8">
					<input id="cpackDefaultVal" name="cpackDefaultVal" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">t2协议值：</label>
				<div class="col-sm-8">
					<input id="t2DefaultVal" name="t2DefaultVal" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">序号：</label>
				<div class="col-sm-8">
					<input id="requestItemNo" name="requestItemNo" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">输入输出：</label>
				<div class="col-sm-8">
					<input id="inOut" name="inOut" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">请求映射描述：</label>
				<div class="col-sm-8">
					<input id="rmdDisc" name="rmdDisc" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">请求映射id：</label>
				<div class="col-sm-8">
					<input id="rmId" name="rmId" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">默认值：</label>
				<div class="col-sm-8">
					<input id="defaultVal" name="defaultVal" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">不显示：</label>
				<div class="col-sm-8">
					<input id="notShow" name="notShow" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">kesb请求序列号：</label>
				<div class="col-sm-8">
					<input id="kesbRequestSeqId" name="kesbRequestSeqId" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">kesb默认值：</label>
				<div class="col-sm-8">
					<input id="kesbDefaultVal" name="kesbDefaultVal" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">spx名称：</label>
				<div class="col-sm-8">
					<input id="spxName" name="spxName" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">cpack名称：</label>
				<div class="col-sm-8">
					<input id="cpackName" name="cpackName" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">t2名称：</label>
				<div class="col-sm-8">
					<input id="t2Name" name="t2Name" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">kesb名称：</label>
				<div class="col-sm-8">
					<input id="kesbName" name="kesbName" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">hr名称：</label>
				<div class="col-sm-8">
					<input id="hrName" name="hrName" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">hr请求id：</label>
				<div class="col-sm-8">
					<input id="hrRequestSeqId" name="hrRequestSeqId" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">hr默认值：</label>
				<div class="col-sm-8">
					<input id="hrDefaultVal" name="hrDefaultVal" class="form-control" type="text">
				</div>
			</div>
		</form>
	</div>
    <div th:include="include::footer"></div>
    <script type="text/javascript">
		var prefix = ctx + "system/autoRequesmappingDetail"
		$("#form-autoRequesmappingDetail-add").validate({
			rules:{
				xxxx:{
					required:true,
				},
			},
			focusCleanup: true
		});
		
		function submitHandler() {
	        if ($.validate.form()) {
	            $.operate.save(prefix + "/add", $('#form-autoRequesmappingDetail-add').serialize());
	        }
	    }
	</script>
</body>
</html>
